﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace HSYCWeb.web.DOCS.AJAX
{
    /// <summary>
    /// ADDRC1 的摘要说明
    /// </summary>
    public class ADDRC1 : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
           // context.Response.Write("Hello World");
            bool result = false;
            if (result)
            {
                context.Response.Write("{ success: true, errors:{} }");
            }
            else
            {
                context.Response.Write("{ success: false, errors:{info: '错误了'} }");
            }
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}